package org.jeecg.modules.stOrder.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 订单详情
 * @Author: jeecg-boot
 * @Date:   2020-06-01
 * @Version: V1.0
 */
@ApiModel(value="ht_st_order对象", description="食堂订单")
@Data
@TableName("hq_st_order_detail")
public class HtStOrderDetail implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**订单编号*/
	@ApiModelProperty(value = "订单编号")
	private String orderNo;
	@Excel(name = "窗口", width = 15)
	@ApiModelProperty(value = "窗口")
	private String chuangkId;
	/**小食堂名称*/
	@Excel(name = "窗口名称", width = 15)
	@ApiModelProperty(value = "窗口名称")
	private String chuangkName;
	/**菜品id*/
	@Excel(name = "菜品id", width = 15)
	@ApiModelProperty(value = "菜品id")
	private String caipId;
	/**菜品图片*/
	@Excel(name = "菜品图片", width = 15)
	@ApiModelProperty(value = "菜品图片")
	private String caipPicture;
	/**菜品名称*/
	@Excel(name = "菜品名称", width = 15)
	@ApiModelProperty(value = "菜品名称")
	private String caipName;
	/**数量*/
	@Excel(name = "数量", width = 15)
	@ApiModelProperty(value = "数量")
	private String amout;
	/**单价*/
	@Excel(name = "单价", width = 15)
	@ApiModelProperty(value = "单价")
	private String price;
	/**合计金额*/
	@Excel(name = "合计金额", width = 15)
	@ApiModelProperty(value = "合计金额")
	private String sumprice;
}
